package com.chengyu.core.mapper;

import com.chengyu.core.model.TyOrderCommentLeft;
import com.chengyu.core.model.TyOrderCommentLeftExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TyOrderCommentLeftMapper {
    long countByExample(TyOrderCommentLeftExample example);

    int deleteByExample(TyOrderCommentLeftExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TyOrderCommentLeft record);

    int insertSelective(TyOrderCommentLeft record);

    List<TyOrderCommentLeft> selectByExample(TyOrderCommentLeftExample example);

    TyOrderCommentLeft selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TyOrderCommentLeft record, @Param("example") TyOrderCommentLeftExample example);

    int updateByExample(@Param("record") TyOrderCommentLeft record, @Param("example") TyOrderCommentLeftExample example);

    int updateByPrimaryKeySelective(TyOrderCommentLeft record);

    int updateByPrimaryKey(TyOrderCommentLeft record);
}
